import request from '@/utils/request'
// 查询GPS 数据
export function mapMarker(query) {
  return request({
    url: 'lgsvapi/gps/list',
    method: 'get',
	params: query
  })
}
// 查询部门下拉树结构
export function treeselects () {
  return request({
    url: '/system/dept/treeselect',
    method: 'get'
  })
}

// 获取设备
export function getDev (query) {
  return request({
    url: '/lgsvapi/card/treeselect',
    method: 'get',
    params: query
  })
}

// 查询节目列表
export function programs (query) {
  return request({
    url: '/lgsvapi/program/list',
    method: 'get',
    params: query
  })
}

// 节目发送
export function programsSend (data) {
  return request({
    url: '/lgsvapi/program/send',
    method: 'post',
    data: data
  })
}
